#include<stdio.h>
#include<math.h>
int main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    int d=b*b-4*a*c;
    //printf("%d",d);
    printf("%.2f,%.2f",(0-b-sqrt(d))/(2*a),(0-b+sqrt(d))/(2*a));
    return 0;
}
